package com.eascs.workflow.common.service.timeEffective;


import java.util.List;

import com.eascs.workflow.common.entity.wf.ProcessTaskMain;
import com.eascs.workflow.common.entity.wf.ProcessTaskNode;
import com.eascs.workflow.common.vo.ModelResult;

public interface TimeffectiveDubboService {
	
    
    /**
     * 定时任务--节点时效用时计算
     * @param 
     * @return
     */
    public ModelResult<Boolean> timeffectiveNodeTask(ProcessTaskNode taskNode);
    
    /**
     * 定时任务--流程时效用时计算
     * @param 
     * @return
     */
    public ModelResult<Boolean> timeffectiveMainTask(ProcessTaskMain taskMain);

    /** 
     * 查询节点
     * @return 
     */
	public ModelResult<List<ProcessTaskNode>> queryProcessNodeByPage(int pageSize,int pageIdex);
	
    /** 
     * 查询流程
     * @return 
     */
	public ModelResult<List<ProcessTaskMain>> queryProcessMainByPage(int pageSize,int pageIdex);

}
